﻿using FitnessCenter.DataAccessLayer.DataModels;
using FitnessCenter.DataAccessLayer.Repositories.Interfaces;
using System.Collections.Generic;

namespace FitnessCenter.DataAccessLayer.Repositories.Implementations
{
    public sealed class PersonRepository : BaseRepository<Person>, IPersonRepository
    {
        public IEnumerable<Person> GetVisitors()
        {
            return GetByPredicate(p => !p.IsCoach);
        }
    }
}
